implicitly assumed to be one dimensional